Fix change notification for event controllers
authorMatthias Clasen <mclasen@redhat.com>
Mon, 22 Jun 2020 16:46:12 +0000 (12:46 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 22 Jun 2020 16:46:12 +0000 (12:46 -0400)
commit9faaa5e8be929393edbd27d8ac38e228b3af43b8
tree7201d52b9f05aeb5c509274512f7e2aae9ee68b1
parent418bbb268547e4111d7435286fa632d74f098863
Fix change notification for event controllers

We were adding event controllers at the end, but
announcing a change at the beginning, in
gtk_widget_add_controller. Fix that by emitting
::items-changed for the position where we actually
inserted the controller.
gtk/gtkwidget.c